package com.itheima.a05InnerClassDemo2;

public class Test {
    public static void main(String[] args) {
        // 创建内部类, public 可以直接创建
        // Outer.Inner inner = new Outer().new Inner();

        Outer o = new Outer();
        Object inner = o.getInstance();
        System.out.println(o.getInstance());
        // com.itheima.a05InnerClassDemo2.Outer$Inner@3b07d329
    }
}
